//
//  CoreDataManager.h
//  WatchTest
//
//  Created by 王胜利 on 2019/3/12.
//  Copyright © 2019 pansoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

#define kCoreDataManager [CoreDataManager manager]

NS_ASSUME_NONNULL_BEGIN

@interface CoreDataManager : NSObject

//单利类
+(instancetype)manager;

@property (readonly, strong) NSPersistentContainer *persistentContainer;

//标记是否需要刷新InterfaceVC, 因为没有图片缓存少刷新。
@property (nonatomic, assign) BOOL isUpdate;

- (void)save;

@end

NS_ASSUME_NONNULL_END
